package com.wechatapp.mengyao.poetry.mapper;

import com.wechatapp.mengyao.poetry.entity.PlaybackHistory;
import com.wechatapp.mengyao.poetry.vo.PlaybackHistoryView;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PlaybackHistoryMapper extends Mapper<PlaybackHistory> {

    List<PlaybackHistoryView> getPlaybackHistoryByUserId(@Param("userId") Long userId);

}